package co.edu.unal.satacredito.infrastructure.dto;

import java.io.Serializable;

import co.edu.unal.satacredito.database.entity.Brand;

public class BrandDTO implements Serializable{

	private static final long serialVersionUID = 1L;
	private String id;
	private String brandName;
	private long nit;
	private String CEOName;
    private String CEOFirstName;
    private String CEOLastName;
    private long CEODocument;
    private String email;
    private long phoneNumber;
    private String status;

	public BrandDTO() {
		
	}

	public BrandDTO(Brand brand) {
		this.id = brand.getId().toString();
		this.brandName = brand.getBrandName();
		this.nit = brand.getNit();
		this.CEOName = brand.getCEOFirstName()+' '+brand.getCEOLastName();
		this.CEOFirstName = brand.getCEOFirstName();
		this.CEOLastName = brand.getCEOLastName();
		this.CEODocument = brand.getCEODocument();
	    this.email = brand.getEmail();
	    this.phoneNumber = brand.getPhoneNumber();
	    this.status = brand.getStatus();
	}
	
	public String getId(){
		return id;
	}

	public String getBrandName() {
		return brandName;
	}

	public long getNit() {
		return nit;
	}

	public String getCEOName() {
		return CEOName;
	}

	public String getCEOFirstName() {
		return CEOFirstName;
	}

	public String getCEOLastName() {
		return CEOLastName;
	}

	public long getCEODocument() {
		return CEODocument;
	}

	public String getEmail() {
		return email;
	}

	public long getPhoneNumber() {
		return phoneNumber;
	}

	public String getStatus() {
		return status;
	}

	public void setId(String id){
		this.id = id;
	}
	
	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public void setNit(long nit) {
		this.nit = nit;
	}

	public void setCEOName(String cEOName) {
		CEOName = cEOName;
	}

	public void setCEOFirstName(String cEOFirstName) {
		CEOFirstName = cEOFirstName;
	}

	public void setCEOLastName(String cEOLastName) {
		CEOLastName = cEOLastName;
	}

	public void setCEODocument(long cEODocument) {
		CEODocument = cEODocument;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setPhoneNumber(long phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
}
